package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告表对象 banner
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告Id */
    private String bId;

    /** 广告图片 */
    @Excel(name = "广告图片")
    private String bimg;

    /** 广告状态，0停用1启用 */
    @Excel(name = "广告状态，0停用1启用")
    private String state;

    /** 广告链接 */
    @Excel(name = "广告链接")
    private String blink;

    public void setbId(String bId) 
    {
        this.bId = bId;
    }

    public String getbId() 
    {
        return bId;
    }
    public void setBimg(String bimg) 
    {
        this.bimg = bimg;
    }

    public String getBimg() 
    {
        return bimg;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setBlink(String blink) 
    {
        this.blink = blink;
    }

    public String getBlink() 
    {
        return blink;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bId", getbId())
            .append("bimg", getBimg())
            .append("state", getState())
            .append("blink", getBlink())
            .toString();
    }
}
